<!DOCTYPE html>
<svg>
  <filter id="displacementFilter" x="-0.2" y="-0.2" color-interpolation-filters="sRGB">
    <feFlood flood-color="black"/>
    <feDisplacementMap in="SourceGraphic" scale="-40" xChannelSelector="R" yChannelSelector="R"/>
  </filter>
  <rect x="20" y="20" width="100" height="100" fill="green" filter="url(#displacementFilter)"/>
</svg>
